﻿#ifndef USERREGISTERCODEC_UNREGISTER_H
#define USERREGISTERCODEC_UNREGISTER_H

#include <qobject.h>
#include "ObjAutoInject.h"
#include "UserRegisterCodecBase.h"

class RegisterCenter_User;
class UserRegisterCodec_Unregister : public QObject,public ObjAutoInject,public UserRegisterCodecBase
{
  Q_OBJECT
private://dependency
  RegisterCenter_User* registerCenter_User=Q_NULLPTR;
public:
  explicit UserRegisterCodec_Unregister();
  virtual ~UserRegisterCodec_Unregister();
signals:
public:
  virtual DataPackage_UserRegisterCodec* decode(DataPackage_UserRegisterCodec* dataPackage_UserRegisterCodec)override;
public://geter and seter
  RegisterCenter_User* getRegisterCenter_User()const;
  UserRegisterCodec_Unregister* setRegisterCenter_User(RegisterCenter_User* const registerCenter_User);
public:
  virtual void objectAutoInjection(QHash<QString,QObject*>* objMap)override;
};

#endif // USERREGISTERCODEC_UNREGISTER_H
